package com.sacc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 滚~韬
 * @date 2022/4/2 10:12
 */
@Data
@TableName("order_user")
public class OrderUser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("open_id")
    private String openId;//用户id
    @TableField("order_number")
    private String orderNumber;//订单号
    @TableField("tracking_number")
    private String trackingNumber;//快递号
    @TableField("state")
    public Integer state;//状态,0代表待支付,1代表待发货,2代表待收货,3代表待评价
}
